package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by Administrator on 2020/3/11.
 */
@Setter@Getter
public class QueryObject {
	private int currentPage=1;//默认当前页为第一页

	private int pageSize=5;//页面显示多少条数据
	public int getStart(){
		return (currentPage -1)* pageSize;
	}
}
